package com.open.capacity.user.model.desk;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.Map;

@Data
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class Menu {
    public Menu() {
    }

    public Menu(String _app, String _title, Object _params, String _hash) {
        this.app = _app;
        this.title = _title;
        this.params = _params;
        this.hash = _hash;
    }

    private String app;
    private String title;
    private Object params;
    private String hash;

    private Map<String, Menu> children;
}
